package com.easygo.service;

import com.xuexi.easygo.pojo.Specification;

import java.util.List;
import java.util.Map;

public interface SpecificationService {


    Integer getTotalConunt(Map<String,Object> map);

    List<Specification> getSpecificationPage(Map<String,Object> map);

    Integer addSpecification(Specification specification);

    Integer addSpecificationTransaction(String spec_name,String[] option_name,Integer[] orders);

    //修改页面的回显
    Specification getSpecificationById(Integer id);

    Integer specification_update(Integer id, String spec_name, String[] option_name,Integer[] orders);
}
